﻿<?xml version="1.0" encoding="utf-8" ?>

<exceptionHelper>
	<exceptionGroup type="WPFCABShell.Shell.Services.Command.CommandService">
		<exception key="CommandAlreadyRegistered" type="System.InvalidOperationException">
			A command with ID '{0}' is already registered.
		</exception>
		<exception key="CommandParameterNotSupported" type="System.InvalidOperationException">
			This command does not support parameters.
		</exception>
	</exceptionGroup>
	
	<exceptionGroup type="WPFCABShell.Shell.Services.Menu.MenuService">
		<exception key="TargetSiteNotFound" type="System.InvalidOperationException">
			No site named '{0}' could be found in the target WorkItem.
		</exception>
		<exception key="UnknownCommandType" type="System.InvalidOperationException">
			Command parameter must be either a string containing a CAB command name, or a WPF ICommand instance.
		</exception>
	</exceptionGroup>

	<exceptionGroup type="WPFCABShell.Shell.Services.Skinning.SkinningService">
		<exception key="NotAResourceDictionary" type="System.ArgumentException">
			resourcesType must be a ResourceDictionary.
		</exception>
		<exception key="NoDefaultConstructor" type="System.ArgumentException">
			resourcesType must have a default constructor.
		</exception>
	</exceptionGroup>

	<exceptionGroup type="WPFCABShell.Shell.Services.Options.OptionsService">
		<exception key="PaneTypeDoesntImplementRequiredInterface" type="System.ArgumentException">
			Type '{0}' does not implement required {1} interface.
		</exception>
	</exceptionGroup>
	
	<exceptionGroup type="WPFCABShell.Shell.Services.ToolBar.ToolBarService">
		<exception key="NoRootToolBarSite" type="System.InvalidOperationException">
			No root tool bar extension site with name '{0}' has been registered.
		</exception>
		<exception key="UnknownCommandType" type="System.InvalidOperationException">
			Command parameter must be either a string containing a CAB command name, or a WPF ICommand instance.
		</exception>
		<exception key="ToolBarNotFound" type="System.InvalidOperationException">
			No tool bar could be found under site name '{0}'.
		</exception>
	</exceptionGroup>
	<exceptionGroup type="WPFCABShell.Shell.Services.StatusBar.StatusBarService">
		<exception key="CannotEndOperation" type="System.InvalidOperationException">
			Unable to end the specified operation. Make sure it was created by this StatusBarService.
		</exception>
	</exceptionGroup>

	<exceptionGroup type="WPFCABShell.Shell.Services.Settings.IsolatedStorageSettingsService+Settings">
		<exception key="InvalidName" type="System.ArgumentException">
			Name must be a valid file name.
		</exception>
		<exception key="AlreadyLoaded" type="System.InvalidOperationException">
			Data has already been loaded. Serialization surrogates must be added prior to first use.
		</exception>		
	</exceptionGroup>
</exceptionHelper>